export interface UserBase {
    email: string;
    password: string;
}

export interface UserRegister extends UserBase {
    username: string;
    avatar: string;
}

export interface login {
    user: UserBase;
}

export interface register {
    user: UserRegister;
}

export interface token {
    refreshToken: string;
}

export interface delFriendType {
    userId: string;
    friendId: string;
}